// Date: 2021-09-26
// Subject: nodejs/express - 事件循环
// process.nextTick > Promise > setTimeout > setImmediate

// 1、setImmediate
/*
console.log('Start');

setImmediate(() => {
    console.log('Inside setImmediate');
});

console.log('End');*/

// 2、process.nextTick
/*console.log('Start');

process.nextTick(() => {
    console.log('Inside process.nextTick');
});

console.log('End');*/
